//
//  MyLocation.h
//  TelethonMobile
//
//  Created by Cyril ALIX on 03/12/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@protocol GeolocIsUpdatedDelegate <NSObject>
- (void )isDoneUpdatingLatitude:(float)lat longitude:(float)longit;
@end

@interface MyLocation : NSObject <CLLocationManagerDelegate>

- (id)initWithDelegate:(id)inDelegate;

@property (nonatomic, retain) CLLocationManager* locationManager;
@property float longitude;
@property float latitude;
@property (nonatomic, assign) id<GeolocIsUpdatedDelegate> delegate;

@end
